This function returns a substring of EXPR, starting at OFFSET within the string. If OFFSET is negative, starts that many characters from the end of the string.
2023年4月20日 — In Perl, substr is a function for finding a part of the string in the given or specified string which requires the index of each character to ...
Extracts a substring out of EXPR and returns it. First character is at offset zero. If OFFSET is negative, starts that far back from the end of the string. If ...